package flash.events;

extern class TouchEvent extends flash.events.Event
{
	static var TOUCH_BEGIN:String = "touchBegin";
	static var TOUCH_END:String = "touchEnd";
	static var TOUCH_MOVE:String = "touchMove";
	static var TOUCH_OVER:String = "touchOver";
	static var TOUCH_OUT:String = "touchOut";
	static var TOUCH_ROLL_OVER:String = "touchRollOver";
	static var TOUCH_ROLL_OUT:String = "touchRollOut";
	static var TOUCH_TAP:String = "touchTap";
	static var PROXIMITY_BEGIN:String = "proximityBegin";
	static var PROXIMITY_END:String = "proximityEnd";
	static var PROXIMITY_MOVE:String = "proximityMove";
	static var PROXIMITY_OUT:String = "proximityOut";
	static var PROXIMITY_OVER:String = "proximityOver";
	static var PROXIMITY_ROLL_OUT:String = "proximityRollOut";
	static var PROXIMITY_ROLL_OVER:String = "proximityRollOver";
	function updateAfterEvent():Void;
	function isToolButtonDown(index:Int):Bool;
	function getSamples(buffer:flash.utils.ByteArray, append:Bool = false):UInt;
	var sizeX:Float;
	var commandKey:Bool;
	var controlKey:Bool;
	var localY:Float;
	var shiftKey:Bool;
	var sizeY:Float;
	var relatedObject:flash.display.InteractiveObject;
	var timestamp:Float;
	var isTouchPointCanceled:Bool;
	var localX:Float;
	var stageY(default, null):Float;
	var touchPointID:Int;
	var isPrimaryTouchPoint:Bool;
	var stageX(default, null):Float;
	var pressure:Float;
	var altKey:Bool;
	var isRelatedObjectInaccessible:Bool;
	var touchIntent:flash.events.TouchEventIntent;
	var ctrlKey:Bool;
	function new(type:String, bubbles:Bool = true, cancelable:Bool = false, touchPointID:Int = 0, isPrimaryTouchPoint:Bool = false, localX:Float = null, localY:Float = null, sizeX:Float = null, sizeY:Float = null, pressure:Float = null, relatedObject:flash.display.InteractiveObject = null, ctrlKey:Bool = false, altKey:Bool = false, shiftKey:Bool = false, commandKey:Bool = false, controlKey:Bool = false, timestamp:Float = null, touchIntent:flash.events.TouchEventIntent = null, samples:flash.utils.ByteArray = null, isTouchPointCanceled:Bool = false):Void;
}